package com.dhcc.sds.custom.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.impl.BaseServiceImpl;
import com.dhcc.sds.custom.dao.SdsCusIndexFieldMapper;
import com.dhcc.sds.custom.entity.SdsCusIndexFieldEntity;
import com.dhcc.sds.custom.service.ISdsCusIndexFieldService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 自定义病种指标对照病种项目服务层接口实现
 *
 * @ClassName: SdsCusIndexFieldServiceImpl
 * @Description: TODO
 * @author yhw
 * @date 2024-07-02 11:50:53
 */
@Service("sdsCusIndexFieldService")
public class SdsCusIndexFieldServiceImpl extends BaseServiceImpl<SdsCusIndexFieldMapper, SdsCusIndexFieldEntity> implements ISdsCusIndexFieldService {
    @Override
    public List<SdsCusIndexFieldEntity> page(Page<SdsCusIndexFieldEntity> page, Map<String, Object> map) {
        return this.baseMapper.page(page, map);
    }

    @Override
    public List<SdsCusIndexFieldEntity> list(Map<String, Object> map) {
        return this.baseMapper.list(map);
    }

    @Override
    public Integer deleteByIndexHeaderId(Long cusIndexHeaderId) {
        return baseMapper.deleteByIndexHeaderId(cusIndexHeaderId);
    }
}
